import request from '@/utils/request'

export function getList(data) {
    return request({
        url: '/pc/land/apply/07_get_collective_land_info',
        method: 'post',
        data
    })
}

export function queryApplyDetailById(data) {
    return request({
        url: '/pc/land/apply/06_get_collective_land_apply_detail',
        method: 'post',
        formData: data,
        load: true
    })
}

export function queryAllAuditor() {
    return request({
        url: '/pc/land/apply/09_list_auditor',
        method: 'post',
    })
}

export function getLandApplyType(data) {
    return request({
        url: '/pc/land/apply/11_find_detail_by_dictionary_type',
        method: 'post',
        formData: data
    })
}

export function individualApplySubmit(data) {
    return request({
        url: '/pc/land/apply/04_collective_apply_submit',
        method: 'post',
        data: data,
        load: true
    })
}

export function getRegionListByParentId(data) {
    return request({
        url: '/pc/project/pre_assembly/09_get_region_list_by_parent_id',
        method: 'post',
        formData: data
    })
}

//获取复垦类型
export function findDetailByDictionaryType(data) {
    return request({
        url: 'pc/land/apply/11_find_detail_by_dictionary_type',
        method: 'post',
        formData: data
    })
}

//获取审查状态
export function getLandAuditStatus(data) {
    return request({
        url: 'pc/land/apply/05_get_land_audit_status',
        method: 'post',
        formData: data
    })
}

//获取镇村社
export function getTowmAndVillageInfo(data) {
    return request({
        url: 'pc/land/apply/05_get_towm_and_village_info',
        method: 'post',
        formData: data
    })
}